package com.qupai.domain.vo;

import com.qupai.domain.entity.AuctionItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AuctionDetailVO implements Serializable {

    @Schema(description = "拍卖会id")
    private Long id;

    @Schema(description = "拍卖会名")
    private String name;


    @Schema(description = "拍卖状态(1、待开始, 2、进行中, 3、已结束)")
    private Integer status;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "相关商品")
    private List<AuctionItemVO> auctionItemList;
}
